package highTech.annotation;
@AnnotationTest(color="red",value="abc",attr=2,annotationAttr=@MetaAnnotation("luzhou"))//ֻ�и�����Ԫ�ؿ���ʡ��{}
public class TestMain {
	@AnnotationTest("xyz")//���ֻ��һ��value���Կ���ʡ��
	public static void main(String[] args) throws Exception{
		if(TestMain.class.isAnnotationPresent(AnnotationTest.class)){
			AnnotationTest annotationTest=TestMain.class.getAnnotation(AnnotationTest.class);
			System.out.println(annotationTest.color());
			System.out.println(annotationTest.value());
			System.out.println(annotationTest.attr().length);
			System.out.println(annotationTest.annotationAttr().value());
		}
	}

}
